package com.dhy.springboot.mapper;

import com.dhy.springboot.entity.Book;

import java.util.List;

public interface BookMapper {

    //queryAllBook
    List<Book> queryAllBook();

    //queryBookById
    Book queryBookById(int id);

    //insertBook
    int insertBook(Book book);

    //deleteBook
    int deleteBook(int id);

    //updateBook
    int updateBook(Book book);
}
